package com.farm.shop.service.impl;

import com.farm.shop.dao.ScenicinforDao;
import com.farm.shop.domain.ScenicinforDO;
import com.farm.shop.service.ScenicinforService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;


@Service
public class ScenicinforServiceImpl implements ScenicinforService {
    @Autowired
    private ScenicinforDao scenicinforDao;

    @Override
    public ScenicinforDO get(Integer id) {
        return scenicinforDao.get(id);
    }

    @Override
    public List<ScenicinforDO> list(Map<String, Object> map) {
        return scenicinforDao.list(map);
    }

    @Override
    public List<ScenicinforDO> getScenicinforList(Map<String, Object> map) {
        return scenicinforDao.getScenicinforList(map);
    }

    @Override
    public int count(Map<String, Object> map) {
        return scenicinforDao.count(map);
    }

    @Override
    public int save(ScenicinforDO scenicinfor) {
        return scenicinforDao.save(scenicinfor);
    }

    @Override
    public int update(ScenicinforDO scenicinfor) {
        return scenicinforDao.update(scenicinfor);
    }

    @Override
    public int remove(Integer id) {
        return scenicinforDao.remove(id);
    }

    @Override
    public int batchRemove(Integer[] ids) {
        return scenicinforDao.batchRemove(ids);
    }

    @Override
    public ScenicinforDO getScenicinforsDetail(Integer scenicinfoId) {
        return scenicinforDao.getScenicinforsDetail(scenicinfoId);
    }

    @Override
    public List<ScenicinforDO> searchTitle(Map<String, Object> map) {
        return scenicinforDao.searchTitle(map);
    }

    @Override
    public int searchTitleCount(Map<String, Object> map) {
        return scenicinforDao.searchTitleCount(map);
    }

}
